package com.tjsinfo.tjsoa.fileExpress.bo;

import java.util.List;

import com.tjsinfo.tjsoa.fileExpress.dao.IFileExpressFileDAO;
import com.tjsinfo.tjsoa.fileExpress.vo.FileExpressFile;

public interface IFileExpressFileBo {

	public abstract void setExpressFileDAO(IFileExpressFileDAO expressFileDAO);

	public abstract void save(FileExpressFile file);

	public abstract void update(FileExpressFile file);
	
	public abstract void updatejdbc(String id,int state);
	
	public abstract void updatejdbcName(String id,String name);
	
	public abstract void deleteGuoQi(Integer id,String path);
	
	public abstract int deleteFile(String ids,int page,String dirName);
	
	public abstract FileExpressFile findById(String id);
	
	public abstract void MoveFile(String copyid,String copygroup);

	public abstract List getExpressFile(int userid);
	
	public abstract List selectFileByName(String fileName,Integer user_id);
	
	public abstract List selectHighFile(String lie,String value,Integer userid);
	
	public abstract void insert(String id,String group_id,int expressUser_id,String fileName,String datetime,String expressLevel,String fileSize,String filePath,String remark);
	
	public void updateState(String filename,String state);
	
	public abstract String downloadFile(String id,String filename,String dirName);
	
	public abstract void updateFileName(String id,String fileName,String dirName);
	
	public void updateStateByUserId(Integer userid,String state);
}